<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>
<div class="pageContent">
	<form method="post" action="${pageContext.request.contextPath}/customer/shopMerchantOrder/audit" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<!-- 关闭窗口 -->
			<input type="hidden" name="callbackType" value="closeCurrent" />
			<!-- 隐藏表单 -->
					<input type="hidden" name="merchantOrderId" value="${requestScope.record.merchantOrderId}" />
				<p><label>订单号</label> <input name="orderNum" class="required" readonly="readonly" maxlength="45" type="text" value="${requestScope.record.orderNum}"  /></p>
				<p><label>订单流程</label> 
				<select name="orderProcess" class="combox required">
					<option value=""  ${requestScope.record.orderProcess==null?'selected':''}>请选择</option>
					<option value="0" ${requestScope.record.orderProcess==0?'selected':'' }>新订单</option>
					<option value="1" ${requestScope.record.orderProcess==1?'selected':'' }>已受理</option>
					<option value="2" ${requestScope.record.orderProcess==2?'selected':'' }>待收货</option>
					<option value="6" ${requestScope.record.orderProcess==6?'selected':'' }>退款中</option>
					<option value="7" ${requestScope.record.orderProcess==7?'selected':'' }>已退货</option>
					<option value="8" ${requestScope.record.orderProcess==8?'selected':'' }>取消订单</option>
					<option value="9" ${requestScope.record.orderProcess==9?'selected':'' }>完成</option>
				</select>
				</p>
				<p><label>订单金额</label> <input name="orderMoney" class="required" readonly="readonly" maxlength="45" type="text" value="${requestScope.record.orderMoney}"  /></p>
				<p><label>应收金额</label> <input name="receivableMoney" class="required" readonly="readonly" maxlength="45" type="text" value="${requestScope.record.receivableMoney}"  /></p>
				<p><label>实收金额</label> <input name="realMoney" class="required"  maxlength="45" type="text" value="${record.realMoney}"/></p>
				
				<p><label>支付时间</label> 
				<input type="text" name="payTime" class="required date" readonly="true" value="<fmt:formatDate value="${record.payTime}" pattern="yyyy-MM-dd" />" /><a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				<p><label>完成时间</label> 
				<input type="text" name="completeTime" class="required date" readonly="true" value="<fmt:formatDate value="${record.completeTime}" pattern="yyyy-MM-dd" />" /><a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				
				<p><label>店铺</label><input name="shopName"  class="required" readonly="readonly" maxlength="45" type="text" value="${requestScope.shopName}"  /> </p>
				<input name="shopId" type="hidden"  class="required" readonly="readonly" maxlength="45" type="text" value="${requestScope.record.shopId}"  />
				<p><label>备注</label> <input name="memo"  readonly="readonly" maxlength="45" type="text" value="${requestScope.record.memo}"  /></p>
				<p><label>订单创建人</label> <input name="creater" class="required" readonly="readonly" maxlength="45" type="text" value="${requestScope.record.creater}"  /></p>
				<p><label>订单操作人</label> <input name="shopOperator" class="required" readonly="readonly" maxlength="45" type="text" value="${requestScope.record.shopOperator}"  /></p>
				<p><label>账户类型</label> 
				<select name="accountType" class="combox required">
					<option value=""  ${requestScope.record.accountType==null?'selected':''}>请选择</option>
					<option value="1" ${requestScope.record.accountType==1?'selected':'' }>A帐</option>
					<option value="2" ${requestScope.record.accountType==2?'selected':'' }>B帐</option>
				</select>
				</p>
				<p><label>审核备注</label> <input name="rvrm" class="required"  maxlength="45" type="text"  value="${requestScope.record.rvrm}" /></p>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">通过</button>
						</div>
					</div></li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">不通过</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
